package c2.group.share;

import c2.advanced.share.RpcSuit;
import cp.solution.business.game.conf.AdvancedConfigEntity;
import cp.solution.fax.FaxTags;
import fax.client.FaxClientProperties;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class RpcSuit4Group extends RpcSuit {

    @Override
    protected void handleProperties(FaxClientProperties properties, AdvancedConfigEntity conf) {
        properties.setUid("group#"+conf.getCode());
        properties.addTag(FaxTags.TAG_SRV_TYPE, FaxTags.SRV_TYPE_GROUP);
        properties.addTag(FaxTags.TAG_GROUP_CODE, conf.getCode());
    }

}
